package cn.eli.vue.service.user;

import cn.eli.vue.entity.User;
import org.springframework.data.repository.query.Param;

/**
 * @Description : service层抽象接口
 */

public interface UserService {
    /**
     * @author : lzs
     * @Description :业务接口
     */
    /*登录接口*/
    public User Login(String user_loginNum,String user_password);
    /*注册接口*/
    public int Register(String user_name, String user_loginNumber, String user_password, int user_sex, String user_avaturl);
    /*用户信息修改接口*/
    public int Modify(int user_id,String user_name, String user_loginNumber, String user_password, int user_sex, String user_avaturl);

    /**
     * @author :lzs
     * @Description  : 工具接口
     */
    /*用户名重复验证接口*/
    public User IsUsernameRepeat(String user_name);
    /*用户登录账号重复验证接口*/
    public User IsUserLoginNumberRepeat(String user_loginNumber);
    /*从用户名检索用户实体*/
    public User usernameToUser(String user_name);
}
